﻿<%template _header%>
<%namespace YouHP.Model%>
<%namespace YouHP.Model.Group%>
<%namespace YouHP.Utility%>



<div class="layout-cols2">
	
<%template _memmenu%>
	<div class="pannelcontent">

		<div class="pcontent">
		<div class="panneldetail">
	     <%template _memrecordermenu%>
	     	
			<div class="pannelbody">
	
 
		
<%csharp%>TempUrl = ModuleCtrl.Header4("TreatmentList","选择治疗",false,false); <%/csharp%>
{TempUrl}

				<table border="0" cellpadding="0" cellspacing="0" class="plist">
	                   <tr align="center" style="height:30px;"> 
	                     <td width="10%">&nbsp;</td>
                            <td width="20%" height="26" align="center"><b class="tdtitle">商用名（通用名）</b></td>
                            <td width="60%"><b class="tdtitle">简介</b></td>
                            <td width="10%"><b class="tdtitle">当前使用人数</b></td>
                        </tr>
				<%csharp%>
				string str="tr_bgcolor_0";
				foreach(TreatmentInfo item in TreatmentDataList) { <%/csharp%>
					<tbody><tr height="60" class="{str}">
					
					 <%csharp%>TempUrl = "/TreatmentHistory/HistoryAdd.aspx?trmid=" + item.Id; <%/csharp%>
					 
					<td align="center"><a href="{this.GetUrl(TempUrl)}">选择</a></td>
					
					 <%csharp%>TempUrl = "/Treatment.aspx?id=" + item.Id; <%/csharp%>
						<td align="center"><a href="{this.GetUrl(TempUrl)}">{item.Name}（{item.GeneralName}）</a></td>
						<%csharp%>
						string sb=item.Intro; 
						if(sb.Length==0){sb="暂无说明";}
						if(sb.Length>50){
						sb=sb.Substring(0,Math.Min(50,sb.Length))+"……";}
						<%/csharp%>
						<td style="padding:0px 10px 0px 10px;"><span style="text-overflow:ellipsis;">{sb}</span></td>
						<td align="center">{item.PatientCount}</td>
						
					</tr></tbody>
					<%csharp%>
					if(str=="tr_bgcolor_0") str="tr_bgcolor_1";
					else str="tr_bgcolor_0";
					}<%/csharp%>
				</table>				

<%csharp%>TempUrl = ModuleCtrl.Footer("TreatmentList"); <%/csharp%>
{TempUrl}
		
		<div class="box">
			<div class="content">
				<div class="pages">
					{TreatmentPagingString}
				</div>
			</div>
		</div>
		
	</div>
	</div>
	</div>
	</div>
		
</div>

<%template _footer%>			